<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/login" method="post">
<%--    <p>${msg }</p>--%>
    用户名： <input type="text" name="username"/><br/>
    密码：<input type="password" name="password"><br/>
    <button type="submit">登录</button>
</form>
<p>-----------------------------------------------------------</p>
<h1>数组格式</h1>
<form action="/Array" method="post">
    用户名： <input type="text" name="username"/><br/>
    密码：<input type="password" name="password"><br/>
    爱好：<input type="checkbox" name="hobby" value="Java"/>Java
    <input type="checkbox" name="hobby" value="PHP"/>PHP
    <input type="checkbox" name="hobby" value="Python"/>Python
    <button type="submit">登录</button>
</form>

<p>-----------------------------------------------------------</p>
<h1>List集合</h1>
<form action="/list" method="post">
    用户名： <input type="text" name="username"/><br/>
    密码：<input type="password" name="password"><br/>
    爱好：<input type="checkbox" name="hobby" value="Java"/>Java
    <input type="checkbox" name="hobby" value="PHP"/>PHP
    <input type="checkbox" name="hobby" value="Python"/>Python
    <button type="submit">登录</button>
</form>

<p>-----------------------------------------------------------</p>
<h1>Map集合</h1>
<form action="/map" method="post">
    用户名： <input type="text" name="username"/><br/>
    密码：<input type="password" name="password"><br/>
    爱好：<input type="checkbox" name="hobby" value="Java"/>Java
    <input type="checkbox" name="hobby" value="PHP"/>PHP
    <input type="checkbox" name="hobby" value="Python"/>Python
    <button type="submit">登录</button>
</form>

<p>-----------------------------------------------------------</p>
<h1>对象</h1>
<form action="/Object" method="post">
    用户名： <input type="text" name="username"/><br/>
    密码：<input type="password" name="password"><br/>
    爱好：<input type="checkbox" name="hobby" value="Java"/>Java
    <input type="checkbox" name="hobby" value="PHP"/>PHP
    <input type="checkbox" name="hobby" value="Python"/>Python
    <button type="submit">登录</button>
</form>
</body>
</html>